/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sda.levelup.calculator;

import sda.levelup.calculator.model.ActionStorage;
import sda.levelup.calculator.model.UserAction;
import sda.levelup.calculator.view.HistoryFrame;

/**
 *
 * @author Дима
 */
public class Test
{
    public static void main(String[] args) {
        ActionStorage as = new ActionStorage();
        UserAction ua1 = new UserAction(52, 48, '+', 100);
        UserAction ua2 = new UserAction(50, 50, '+', 100);
        as.getMemory().add(ua1);
        as.getMemory().add(ua2);
        
        HistoryFrame hf = new HistoryFrame(as);
        hf.setVisible(true);
    }
}
